home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr11 / pcv05n11.zip / AFTER.BAT next >
DOS Batch File  |  1993-06-02  |  1KB  |  34 lines

  1. @echo off
  2. echo Looking for additions to system ... please wait.
  3. echo Results will be found in C:\WINDOWS\UNINSTAL\%1.TXT
  4. echo. > %1    ;Starts the comparison file, %1
  5. echo Changes made to hard disk by %1 installation >> %1
  6. echo. >> %1
  7. echo [ WIN.INI ] >> %1    ;FC compares old files with new
  8. fc win.old c:\windows\win.ini >> %1    ;ones and lists differences in %1
  9. echo [ SYSTEM.INI ] >> %1
  10. fc system.old c:\windows\system.ini >> %1
  11. echo [ AUTOEXEC.BAT ] >> %1
  12. fc autoexec.old c:\autoexec.bat >> %1
  13. echo [ CONFIG.SYS ] >> %1
  14. fc config.old c:\config.sys >> %1
  15. echo [ FILES IN C:\WINDOWS ] >> %1
  16. dir c:\windows\*.* /a /b /l > windir.new    ;Gets new directory listing
  17. fc windir.old windir.new >> %1    ;and compares it with the old
  18. echo [ FILES IN C:\WINDOWS\SYSTEM ] >> %1
  19. dir c:\windows\system\*.* /a /b /l > sysdir.new
  20. fc sysdir.old sysdir.new >> %1
  21. echo [ FILES IN C:\ ] >> %1
  22. dir c:\*.* /a-d /b /l > root.new
  23. fc root.old root.new >> %1
  24. echo [ DIRECTORY TREE FOR C: ] >> %1
  25. tree c:\ /a > treec.new    ;New directory tree
  26. fc treec.old treec.new >> %1
  27. echo [ DIRECTORY TREE FOR F: ] >> %1    ;Add these lines if
  28. tree f:\ /a > treef.new    ;you install programs
  29. fc treef.old treef.new >> %1    ;on drive F:
  30. find /v "Comparing files" %1 > %1.txt    ;Cleans up text file a bit
  31. del %1    ;Deletes working text file
  32. del *.old    ;Removes the remaining
  33. del *.new    ;temporary files
  34.